package hibernate2;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "course_template")
@Entity
public class CourseTemplate {
	@Override
	public String toString() {
		return "CourseTemplate [id=" + id + ", creatdate_time=" + creatdate_time + ", course_id=" + course_id
				+ ", academic_year_id=" + academic_year_id + ", curse_type_id=" + curse_type_id + "]";
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCreatdate_time() {
		return creatdate_time;
	}

	public void setCreatdate_time(String creatdate_time) {
		this.creatdate_time = creatdate_time;
	}

	public int getCourse_id() {
		return course_id;
	}

	public void setCourse_id(int course_id) {
		this.course_id = course_id;
	}

	public int getAcademic_year_id() {
		return academic_year_id;
	}

	public void setAcademic_year_id(int academic_year_id) {
		this.academic_year_id = academic_year_id;
	}

	public int getCurse_type_id() {
		return curse_type_id;
	}

	public void setCurse_type_id(int curse_type_id) {
		this.curse_type_id = curse_type_id;
	}

	@Id
	@Column(name = "id")
	private int id;
	@Column(name = "creatdate_time")
	private String creatdate_time;
	@Column(name = "course_id")
	private int course_id;
	@Column(name = "academic_year_id")
	private int academic_year_id;
	@Column(name = "course_type_id")
	private int curse_type_id;
}
